Flash driver for XMC microcontroller family.
More...
Flash driver for XMC microcontroller family.
Flash is a non volatile memory module used to store instruction code or constant data. The flash low level driver provides support to the following functionalities of flash memory.
-
◆ XMC_FLASH_ClearStatus()
| void XMC_FLASH_ClearStatus |
( |
void |
| ) |
|
- Parameters
-
- Returns
- None
- Description:
- Related APIs:
- None
Definition at line 85 of file xmc1_flash.c.
◆ XMC_FLASH_DisableEvent()
| void XMC_FLASH_DisableEvent |
( |
const uint32_t |
event_msk | ) |
|
- Parameters
-
| event_msk | ORed values of XMC_FLASH_EVENT_t enumeration |
- Returns
- None
- Description:
- Disables the particular flash events as specified in the input parameter.
- Related APIs:
- XMC_FLASH_EnableEvent()
Definition at line 109 of file xmc1_flash.c.
◆ XMC_FLASH_EnableEvent()
| void XMC_FLASH_EnableEvent |
( |
const uint32_t |
event_msk | ) |
|
- Parameters
-
| event_msk | ORed values of XMC_FLASH_EVENT_t enumeration |
- Returns
- None
- Description:
- Enables the particular flash events as specified in the input parameter.
- Related APIs:
- XMC_FLASH_DisableEvent()
Definition at line 101 of file xmc1_flash.c.
◆ XMC_FLASH_EraseSector()
| void XMC_FLASH_EraseSector |
( |
uint32_t * |
address | ) |
|
- Parameters
-
| address | Pointer to the starting address of the page to be erased. |
- Returns
- None
- Description:
Definition at line 241 of file xmc1_flash.c.
◆ XMC_FLASH_GetStatus()
| uint32_t XMC_FLASH_GetStatus |
( |
void |
| ) |
|
- Parameters
-
- Returns
- uint32_t Status of the previous flash operation.
- Description:
- Related APIs:
- None
Definition at line 93 of file xmc1_flash.c.
Referenced by XMC_FLASH_IsBusy().
◆ XMC_FLASH_IsBusy()
◆ XMC_FLASH_ProgramPage()
| void XMC_FLASH_ProgramPage |
( |
uint32_t * |
address, |
|
|
const uint32_t * |
data |
|
) |
| |
- Parameters
-
| address | Pointer to the starting address of flash page from where the programming starts. |
| data | Pointer to the source address where targeted data is located. |
- Returns
- None
- Description:
- Note:
- Flash will be busy state during write is ongoing, hence no operations allowed until it completes.
- Related APIs:
- None
Definition at line 249 of file xmc1_flash.c.